#ifndef _X_TEST_CONFIG_H_
#define _X_TEST_CONFIG_H_
#include <gtest.h>
#include <xstring.h>
#include <iostream>
namespace test
{
	TEST(config,CheckBCBFlag)
	{
#ifdef __BORLANDC__
	EXPECT_EQ(IS_BCB,1);
#else
	EXPECT_EQ(IS_BCB,0);
#endif

	}

	TEST(config,CheckVCFlag)
	{
#ifdef _MSC_VER
		EXPECT_EQ(IS_VC,1);
#else
		EXPECT_EQ(IS_VC,0);
#endif
#if _MSC_VER == 1200
		EXPECT_EQ(IS_VC6,1);
#else
		EXPECT_EQ(IS_VC6,0);
#endif
#if _MSC_VER == 1300
		EXPECT_EQ(IS_VC2001,1);
#else
		EXPECT_EQ(IS_VC2001,0);
#endif
#if _MSC_VER == 1310
		EXPECT_EQ(IS_VC2003,1);
#else
		EXPECT_EQ(IS_VC2003,0);
#endif
#if _MSC_VER == 1400
		EXPECT_EQ(IS_VC2005,1);
#else
		EXPECT_EQ(IS_VC2005,0);
#endif
#if _MSC_VER == 1500
		EXPECT_EQ(IS_VC2008,1);
#else
		EXPECT_EQ(IS_VC2008,0);
#endif
#if _MSC_VER == 1600
		EXPECT_EQ(IS_VC2010,1);
#else
		EXPECT_EQ(IS_VC2010,0);
#endif
	}
}




#endif
